<h2>n3.js</h2>
<p>N3/Turtle parser.</p>
<hr/>

<h3>Functions</h3>
<ul>
	<li><a href="#totriples">OAT.N3.toTriples(string)</a></li>
</ul>

<hr/>

<h3><a name="totriples">OAT.N3.toTriples(string)</a></h3>
<p>Parses a N3/Turtle RDF document into an array of triples (which is then returned). Input should be a string containing serialized RDF.</p>

<pre class="code">
var callback = function(string) {
	var triples = OAT.RDF.toTriples(string);
	alert("There are "+triples.length+" triples.");
}
OAT.AJAX.GET("myData.n3",false,callback,{type:OAT.AJAX.TYPE_TEXT});
</pre>
